package test.string;

public class StringMatches {

    public static void main(String[] args) {
        System.out.println("zxf02".matches("zxf"));
        System.out.println("zxf02".contains("zxf"));
    }

}
